import {ecs} from "db://oops-framework/libs/ecs/ECS";
import {pb} from "db://assets/script/network/ws/proto.js";

// 出牌
@ecs.register("ChuPaiComp")
export class ChuPaiComp extends ecs.Comp {
    reset(): void {
        this.tileIndex = -1
        this.tid = pb.TileId.noCard
    }
    // 出牌的 index id
    tileIndex: number
    tid: pb.TileId
}
